package com.nain.service;

import com.nain.pojo.Books;

import java.util.List;

/**
 * @Author: 1
 * @Date: 2021/4/28 9:10
 * @Version 1.0
 */
public interface BookService {
    int addBook(Books book);

    int deleteBookById(int id);

    int updateBook(Books book);

    Books queryBookById(int id);

    List<Books> queryAllBook();
}
